---
title: Predictions from documents
description: Multiple methods are available for making predictions with Document AI.
section_name: AutoML
maturity: public-preview
---

# Predictions from documents {: #predictions-from-documents }


The following prediction methods are available for Document AI.

Method | Description
------ | -----------
[UI](predict) | Upload an archive or dataset file for predictions from the UI.

For all other types other than deployment batch predictions, you must include PDF documents as base64-encoded strings. The public API client includes a utility function to help with conversion.

Method | Description
------ | -----------
[API](realtime/index)  | Use scripting code and base64-converted document files to make an API call and get predictions from the deployed model. The output will be a CSV file with prediction results.
[Portable Prediction Server](port-pred/index) | Use base64-converted document files for either single-model or multi-model modes.
[Portable Batch Predictions](batch/index) | Use base64-converted document files for all supported adapters (filesystem, JDBC, AWS S3, Azure Blob, GCS, Snowflake, Synapse).
